import request from '@/utils/request'

// 查询GdGuide列表
export function listGdGuide(query) {
    return request({
        url: '/api/v1/gdguide',
        method: 'get',
        params: query
    })
}

// 查询GdGuide详细
export function getGdGuide (ID) {
    return request({
        url: '/api/v1/gdguide/' + ID,
        method: 'get'
    })
}


// 新增GdGuide
export function addGdGuide(data) {
    return request({
        url: '/api/v1/gdguide',
        method: 'post',
        data: data
    })
}

// 修改GdGuide
export function updateGdGuide(data) {
    return request({
        url: '/api/v1/gdguide/'+data.ID,
        method: 'put',
        data: data
    })
}

// 删除GdGuide
export function delGdGuide(data) {
    return request({
        url: '/api/v1/gdguide',
        method: 'delete',
        data: data
    })
}

